package com.jiaomatech.server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Description: 注册中心 .<br>
 *
 * @author jm
 *     created by 2019/9/29
 */
@EnableEurekaServer
@SpringBootApplication
public class ServerEurekaApplication {
    private final static Logger logger = LoggerFactory.getLogger(ServerEurekaApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ServerEurekaApplication.class, args);
        logger.info("******** 服务发现启动成功 *********");
    }
}
